package com.example.yygh.oss;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author hx
 * @create 2022/5/18 17:58
 * description:
 */
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)//取消数据源自动加载
@EnableDiscoveryClient
@ComponentScan(basePackages = {"com.example"})
public class ServiceOssApplication {
    public static void main(String[] args) {
        SpringApplication.run(ServiceOssApplication.class, args);
    }
}
